#!/bin/bash

javac RMI/IFilial.java
javac RMI/Server.java
javac -classpath . Principal/Main.java
javac -classpath . RMI/Cliente.java

java -Djava.security.policy=rmi.policy -Djava.rmi.server.hostname=192.168.1.101 Principal/Main $1
